package com.ssy.lingxi.workflow.model.bo;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * 会员自定义角色BO对象
 * @author 万宁
 * @version 2.0.0
 * @date 2020-11-19
 */
public class MemberRoleBO implements Serializable {
    private static final long serialVersionUID = -3179905233509138348L;

    public MemberRoleBO() {
    }

    public MemberRoleBO(Long memberRoleId, String memberRoleName) {
        this.memberId = 0L;
        this.memberRoleId = memberRoleId;
        this.memberRoleName = memberRoleName;
    }

    public MemberRoleBO(Long memberId, Long memberRoleId, String memberRoleName) {
        this.memberId = memberId;
        this.memberRoleId = memberRoleId;
        this.memberRoleName = memberRoleName;
    }

    /**
     * 会员Id
     */
    @JsonProperty("m")
    private Long memberId;

    /**
     * 会员自定义角色Id
     */
    @JsonProperty("r")
    private Long memberRoleId;

    /**
     * 会员自定义角色名称
     */
    @JsonProperty("n")
    private String memberRoleName;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMemberRoleId() {
        return memberRoleId;
    }

    public void setMemberRoleId(Long memberRoleId) {
        this.memberRoleId = memberRoleId;
    }

    public String getMemberRoleName() {
        return memberRoleName;
    }

    public void setMemberRoleName(String memberRoleName) {
        this.memberRoleName = memberRoleName;
    }
}
